import request from '@/utils/request'

// export const getCategoriesAPI = data => {
//   return request.get('/categories', data)
// }

export const getCategoriesAPI = (data) => {
  return request.get('/categories', {
    params: data
  })
}